package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillApprovalCostLoan;
import com.open.capacity.reimburse.entity.BillApprovalCostPayitem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 费用报销单借款
 *
 * @author
 * @email
 * @date 2023-12-21 15:20:30
 */
@Mapper
public interface BillApprovalCostLoanDao {

    int save(BillApprovalCostLoan billApprovalCostLoan);

    int update(BillApprovalCostLoan billApprovalCostLoan);

    int deleteByBillId(String billId);

    int delete(String id);

    BillApprovalCostLoan findById(String id);

    List<BillApprovalCostLoan> findByBillId(String billId);

    List<BillApprovalCostLoan> findAll(Map<String, Object> params);

}
